package soul.job;

import jdk.nashorn.internal.scripts.JO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

//@Component
public class Job {

    Logger logger = LoggerFactory.getLogger(Job.class);

    @Scheduled(cron="*/5 * * * * ?")
    public void test()
    {
        System.out.println("0.0");
        logger.info("-----------");
    }
}
